//
//  CurveListTableViewCell.m
//  GetPowerDBO
//
//  Created by 周博 on 2017/6/30.
//  Copyright © 2017年 BogoZhou. All rights reserved.
//

#import "CurveListTableViewCell.h"

@implementation CurveListTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    
    _bigView.layer.masksToBounds = YES;
    _bigView.layer.cornerRadius = 10;
    
    _viewImage.layer.masksToBounds = YES;
    _viewImage.layer.cornerRadius = 10;
    
}

- (void)showDataWithModel:(ShopModel *)model{
    _labelName.text = model.name;
    
    _labelAddress.text = model.specific_address;
    
    [_imageViewHeader sd_setImageWithURL:[NSURL URLWithString:model.img_url] placeholderImage:[UIImage imageNamed:@""]];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
